/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package diet.dto;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author DungTT
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "dishID",
    "dishName",
    "dishTypeId",
    "calories",
    "imageURL",
    "time",
    "countView",
    "cooking",
    "userID",
    "status"})
public class DishDTO implements java.io.Serializable {

    @XmlElement(required = true)
    private int dishID;
    private String dishName;
    private int dishTypeId;
    private int calories;
    private String imageURL;
    private String time;
    private int countView;
    private String cooking;
    private int userID;
    private String status;

    public DishDTO() {
    }

    public DishDTO(int dishID, String dishName, int dishTypeId, int calories, String imageURL, String time, int countView, String cooking, int userID, String status) {
        this.dishID = dishID;
        this.dishName = dishName;
        this.dishTypeId = dishTypeId;
        this.calories = calories;
        this.imageURL = imageURL;
        this.time = time;
        this.countView = countView;
        this.cooking = cooking;
        this.userID = userID;
        this.status = status;
    }

    public DishDTO(int dishID, String dishName, int dishTypeId, int calories, String imageURL, String time) {
        this.dishID = dishID;
        this.dishName = dishName;
        this.dishTypeId = dishTypeId;
        this.calories = calories;
        this.imageURL = imageURL;
        this.time = time;
    }

    /**
     * @return the dishID
     */
    public int getDishID() {
        return dishID;
    }

    /**
     * @param dishID the dishID to set
     */
    public void setDishID(int dishID) {
        this.dishID = dishID;
    }

    /**
     * @return the dishName
     */
    public String getDishName() {
        return dishName;
    }

    /**
     * @param dishName the dishName to set
     */
    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    /**
     * @return the dishTypeId
     */
    public int getDishTypeId() {
        return dishTypeId;
    }

    /**
     * @param dishTypeId the dishTypeId to set
     */
    public void setDishTypeId(int dishTypeId) {
        this.dishTypeId = dishTypeId;
    }

    /**
     * @return the calories
     */
    public int getCalories() {
        return calories;
    }

    /**
     * @param calories the calories to set
     */
    public void setCalories(int calories) {
        this.calories = calories;
    }

    /**
     * @return the imageURL
     */
    public String getImageURL() {
        return imageURL;
    }

    /**
     * @param imageURL the imageURL to set
     */
    public void setImageURL(String imageURL) {
        this.imageURL = imageURL;
    }

    /**
     * @return the time
     */
    public String getTime() {
        return time;
    }

    /**
     * @param time the time to set
     */
    public void setTime(String time) {
        this.time = time;
    }

    /**
     * @return the cooking
     */
    public String getCooking() {
        return cooking;
    }

    /**
     * @param cooking the cooking to set
     */
    public void setCooking(String cooking) {
        this.cooking = cooking;
    }

    /**
     * @return the countView
     */
    public int getCountView() {
        return countView;
    }

    /**
     * @param countView the countView to set
     */
    public void setCountView(int countView) {
        this.countView = countView;
    }

    /**
     * @return the userID
     */
    public int getUserID() {
        return userID;
    }

    /**
     * @param userID the userID to set
     */
    public void setUserID(int userID) {
        this.userID = userID;
    }

    /**
     * @return the status
     */
    public String getStatus() {
        return status;
    }

    /**
     * @param status the status to set
     */
    public void setStatus(String status) {
        this.status = status;
    }
}
